package com.cn.wanxi.test;

public class Child {
    public static final String NAME = "AA";

    {
        System.out.println("子类的代码块");
    }


    public Child() {
        System.out.println("子类的无参数的构造方法");
    }


    public Child(String aa) {
        System.out.println("子类的有参数的构造方法");
    }

    static {
        System.out.println("子类的静态代码块");
    }

    static Parent parent;

    public static void aa() {
        System.out.println("aaaaaaa");
    }
}
